package com.project.springboot.mongodb.examples.domain;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {

	private static final long serialVersionUID = 1927922907215737249L;

	private Long id;
	private String userName;
	private String passWord;

	@Override
	public String toString() {
		return "{\"id\":\"" + id + "\", \"userName\":\"" + userName + "\", \"passWord\":\"" + passWord + "\"}";
	}

}
